.clip-path-triangle {
  width: 50px;
  height: 50px;
  background: deeppink;
  clip-path: polygon(0 0, 100% 0, 0 100%, 0 0);
}